<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>添加会员组</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript" src="/PHPUnion/Home/Lib/Pintuer/jquery-1.11.0.js"></script>
<link rel="stylesheet" type="text/css" href="/PHPUnion/Home/Lib/Pintuer/pintuer.css" />
<script type="text/javascript" src="/PHPUnion/Home/Lib/Pintuer/pintuer.js"></script>
<script type="text/javascript" src="/PHPUnion/Home/Lib/Pintuer/respond.js"></script>
</head>
<body>
    <div class="container-layout">
        <!-- 导航位置 -->
        <div class="text-small text-gray height-big">
            <div class="float-left height">
                <span class="icon-home"></span>
                当前位置： 首页 -> 用户管理 -> 用户等级 -> 等级列表
            </div>
            <div class="float-right">
                <div class="radius-rounded height">
                    <button type="button" onClick="location.href='<?php echo U('index');?>'" class="button">
                        <i class="icon-th-list"></i>
                        会员组列表
                    </button>
                    <button type="button" onClick="location.href='<?php echo U('add');?>'" class="button">
                        <i class="icon-edit"></i>
                        添加会员组
                    </button>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
        <hr />
        <!-- 导航位置 End -->
    <form action="<?php echo U('add');?>" method="POST">
        <table class="table table-striped table-bordered table-hover table-condensed table-responsive">
            <tr>
                <td align="right">会员组名</td>
                <td><input type="text" name="gname"/></td>
            </tr>
            <tr>
                <td align="right">积分小于</td>
                <td><input type="text" name="credits" value="0" required="" /></td>
            </tr>
            <tr>
                <td align="right">是否允许评论</td>
                <td>
                    <label><input type="radio" name="omment" value="1" checked="checked" /> 是</label>
                    <label><input type="radio" name="comment" value="0" /> 否</label>
                </td>
            </tr>
            <tr>
                <td align="right">是否允许短消息</td>
                <td>
                    <label><input type="radio" name="message" value="1" checked="checked" /> 允许</label>
                    <label><input type="radio" name="message" value="0" /> 不允许</label>
                </td>
            </tr>
            <tr>
                <td align="right">状 态</td>
                <td>
                    <label><input type="radio" name="status" value="1" checked="checked" /> 启用</label>
                    <label><input type="radio" name="status" value="0" /> 禁用</label>
                </td>
            </tr>
            <tr>
                <td align="right">描 述</td>
                <td><textarea name="gremark" cols="20" rows="2"><?php echo ($field["title"]); ?></textarea></td>
            </tr>
            <tr>
                <td><input type="hidden" name="pid" value="2" /></td>
                <td>
                    <button type="submit" class="button bg-sub radius-none">
                        <i class="icon-check-square-o"></i>
                        提交保存
                    </button>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>